package com.guli.gulikiller.killer.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guli.gulikiller.killer.entity.StockEntity;
import com.guli.gulikiller.killer.entity.StockOrderEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-05-27 09:51:41
 */
@Mapper
public interface StockOrderDao extends BaseMapper<StockOrderEntity> {

    int updateStockByOptimistic(@Param("stock") StockEntity stock);
}
